{% extends "base.html" %}

{% block content %}


<form action="#" method="post">
<img src="/site_media/led-icons/book.png"><input id="search" type="text" name="search" size="50"><input type="image" value="Search" src="/site_media/led-icons/find.png">
</form>


{% if search_results_list %}
<table id="maintable" border="1">
<tr>
<th>&nbsp;</th>
<th>Image</th>
<th>Title</th>
<th>Authors</th>
<th>ISBN</th>
</tr>

{% for row in search_results_list %}
<tr>
<td><a href="/catalogue/books/add_auto/{{ row.0 }}/">Add</a></td>
<td><img src="{{ row.3 }}"></td>
<td>{{ row.1 }}</td>
<td>{{ row.2 }}</td>
<td>{{ row.0 }}</td>


</tr>
{% endfor %}
</table>
{% endif %}


{% endblock %}
